package is.api.demo.isgateway.support;

import org.apache.http.Header;
import org.apache.http.HttpEntity;

import java.io.Serializable;

/**********************************************************************
 * &lt;p&gt;文件名：HttpResponseBody.java &lt;/p&gt;
 * &lt;p&gt;文件描述：(描述该文件做什么) 
 * @project_name：rest-api-demo
 * @author zengshunyao
 * @create 2025/11/27 18:23
 * @history
 * @department：政务事业部
 * Copyright ChengDu Funi Cloud Code Technology Development CO.,LTD 2014 
 *                    All Rights Reserved.
 */
public class IsGateWayHttpResponseBody implements Serializable {
    private final Header[] allHeaders;
    private final int statusCode;
    private final HttpEntity httpEntity;
    private final String responseBody;

    public IsGateWayHttpResponseBody(Header[] allHeaders, int statusCode, HttpEntity httpEntity, String responseBody) {
        this.allHeaders = allHeaders;
        this.statusCode = statusCode;
        this.httpEntity = httpEntity;
        this.responseBody = responseBody;
    }

    public Header[] getAllHeaders() {
        return allHeaders;
    }

    public int getStatusCode() {
        return statusCode;
    }

    public HttpEntity getHttpEntity() {
        return httpEntity;
    }

    public String getResponseBody() {
        return responseBody;
    }
}
